package com.kalix.training.live.api.biz;

import com.kalix.framework.core.api.biz.IBizService;
import com.kalix.framework.core.api.persistence.JsonData;
import com.kalix.training.live.entities.LiveBean;

public interface ILiveBeanService extends IBizService<LiveBean> {

    public JsonData startLive(Long userId,String username,String type,String imgUrl,String liveName);

    public JsonData getFirstLive();

    public JsonData getSixLive();

    public JsonData closeLive(Long userId);

    public JsonData getLiveAllUrl(String state,String type);

    public JsonData getLive(Long liveId);

    public JsonData getPageDate(Integer page, Integer limit, String type, String state);
}
